package net.cheyo.ipaddr;

import javax.xml.bind.annotation.XmlElement;

public class IpLocationBean
{
    private String ip;

    private String location;

    @XmlElement(name = "IP")
    public String getIp()
    {
        return ip;
    }

    public void setIp(String ip)
    {
        this.ip = ip;
    }

    @XmlElement(name = "location")
    public String getLocation()
    {
        return location;
    }

    public void setLocation(String location)
    {
        this.location = location;
    }

    @Override
    public String toString()
    {
        return "IpLocationBean [ip=" + ip + ", location=" + location + "]";
    }

}
